﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SCG.SolarVengeance
{
    public class MatchInfo
    {
        public string Player1 { get; set; }
        public string Player2 { get; set; }

        public string MatchCode
        {
            get
            {
                if (Player1.CompareTo(Player2) > 0)
                    return Player1 + "|" + Player2;
                else
                    return Player2 + "|" + Player1;
            }
        }
    }
}
